You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > LimitRange Method > Math387.LimitRange Method ([In] double, double, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.LimitRange Method ([In] double, double, [In] double)

Limit the range X.

Syntax
C#
Visual Basic
public static void LimitRange([In] double Low, ref double X, [In] double High);
Parameters 
Description 
[In] double Low 
Lower bound in [Low,High]. 
ref double X 
Modify x to lie within closed interval [Low,High]. 
[In] double High 
Upper bound in [Low,High]. 

Change X to stay within [Low,High] closed interval.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!